﻿using System.Security.Claims;

namespace QMERP.Infrastructure.Security
{
    public interface ICurrentUser
    {
        long Id { get; }
        string UserName { get; }
        string Name { get; }
        string? MobilePhone { get; }
        string? Email { get; }
        bool IsAdmin { get; }
        string[] Licenses { get; }
        Claim? FindClaim(string claimType);

        Claim[]? FindClaims(string claimType);

        Claim[]? GetAllClaims();
    }
}
